@import com.mgfireworks.mgplatform.mgshop.model.weixin.WeiXinAppConfig
@args WeiXinAppConfig weiXinAppConfig
<!DOCTYPE html>
<html class="ui-page-login">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
</head>
<body>
<script type="text/javascript">
    location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=@weiXinAppConfig.getAppId()&redirect_uri="+encodeURIComponent("http://xiwa.ngrok.cc/account/weiXinOAuthCallBack")+"&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect";
</script>
</body>
</html>